<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<aside class="bg-dark">
    <div class="logo text-center text-primary fs-3"> ${adminSystemName}</div>
    <ul class="nav nav-pills flex-column fs-6 px-2">
        <c:forEach var="menu" items="${menuList}">
            <li class="nav-item p-1">
                <a class="nav-link text-white ${param.active == menu.path ? 'active' : ''}"
                   href="${pageContext.request.contextPath}/admin/${menu.path}?method=viewList">
                    <i class="${menu.icon} me-2"></i>${menu.title}
                </a>
            </li>
        </c:forEach>
    </ul>
</aside>
